import http from "../http";


function code(params: any = {}) {
    return http.myRequest({
        url: '/mail/mail/code',
        method: 'post',
        data: params,
        header: {
            'content-type': 'application/x-www-form-urlencoded'
        }
    })
}

export default {
    code
}


